<template>
	<view>
		<view class="info-detail-info-item">
			<imageViewer v-model="info['照片上传']" />
		</view>
		<view class="info-detail-info-item">
			检查点类型：{{checkPointType.shop}}
		</view>
		<view class="info-detail-info-item">
			商铺名称：{{info['商铺名称']}}
		</view>
		<view class="info-detail-info-item">
			负责人：{{info["负责人"]}}
		</view>
		<view class="info-detail-info-item">
			地址：{{info["地址"]}}
		</view>
		<view class="info-detail-info-item">
			负责人电话：{{info["联系电话"]}}
		</view>
		<view class="info-detail-info-item">
			房东姓名：{{info['房东姓名']}}
		</view>
		<view class="info-detail-info-item">
			房东电话：{{info['房东电话']}}
		</view>
		<view class="info-detail-info-item">
			统一社会信用代码：{{info["统一社会信用代码"]}}
		</view>
		<view class="info-detail-info-item">
			资质有效期开始：{{info["资质有效期开始时间"] ? toLocalDate(info["资质有效期开始时间"]) : ''}}
		</view>
		<view class="info-detail-info-item">
			资质有效期结束：{{info["资质有效期结束时间"] ? toLocalDate(info["资质有效期结束时间"]) : ''}}
		</view>
		<view v-if="info['营业执照照片']" class="info-detail-info-item">
			<imageViewer v-model="info['营业执照照片']" />
		</view>
		<view v-if="info['经营项目']" class="info-detail-info-item">
			经营项目：{{info["经营项目"]}}
		</view>

		<view class="info-detail-info-item">
			消防重点关注对象：{{info['消防重点关注对象']?'是':'否'}}
		</view>

		<view class="info-detail-info-item">
			成立日期：{{info["成立时间"] ? toLocalDate(info["成立时间"]) : ''}}
		</view>
		<view class="info-detail-info-item">
			从业人员数：{{info["从业人员数"] || ''}}
		</view>
		<view class="info-detail-info-item">
			经营面积：{{info["工作区域面积"] || ''}}
		</view>
		<view class="info-detail-info-item">
			备注：{{info["备注"]||''}}
		</view>


	</view>
</template>

<script>
	import imageViewer from '@/fireGridCheck/myComponents/imageViewer.vue'
	export default {
		components: {
			imageViewer
		},
		data() {
			return {
				checkPointType: this.$type.checkPointType,
				检查点类型: "shop",
				info: {

				},
				toLocalDate: this.$funs.toLocalDate
			}
		},
		methods: {
			setFields(info) {
				this.info = info.商铺;
			}
		}
	}
</script>

<style>

</style>
